Skip to content

[bazel/infra] Add manual BCR release workflow (backport #567)#573

Merged
shameekganguly merged 1 commit intogz-sensors9from
mergify/bp/gz-sensors9/pr-567
Jan 6, 2026
Merged

[bazel/infra] Add manual BCR release workflow (backport #567)#573
shameekganguly merged 1 commit intogz-sensors9from
mergify/bp/gz-sensors9/pr-567

Conversation

@mergify
Copy link
Copy Markdown
Contributor

@mergify mergify bot commented Jan 2, 2026

Internal tooling

Summary

Adds the publish.yaml workflow to release a tag to the Bazel Central Registry (BCR). This workflow uses the official reusable publish-to-bcr workflow from the bazel team.

For now, the workflow must be triggered manually. Once we have iron'ed out any unforeseen issues over a few releases, we can tie it to our release automation.

The following template files are added to mirror the existing files in the latest manual bcr release for gz-sensors.

  • .bcr/metadata.template.json
  • .bcr/presubmit.yml
  • .bcr/source.template.json

Some of the fields are auto-populated by publish-to-bcr based on the repo details when creating a PR in BCR.

Note that MODULE.bazel will be auto-patched by publish-to-bcr to insert the new version based on the tag e.g. tag gz-sensors10_10.0.0 --> version 10.0.0. This version will also be added to metadata.json alongside existing versions.

Testing

This PR mirrors the BCR setup for gz-utils: gazebosim/gz-utils#192. See testing instructions there.

Checklist

  • Signed all commits for DCO
  • Added tests
  • Added example and/or tutorial
  • Updated documentation (as needed)
  • Updated migration guide (as needed)
  • Consider updating Python bindings (if the library has them)
  • codecheck passed (See contributing)
  • All tests passed (See test coverage)
  • While waiting for a review on your PR, please help review another open pull request to support the maintainers
  • Was GenAI used to generate this PR? If so, make sure to add "Generated-by" to your commits. (See this policy for more info.)

Note to maintainers: Remember to use Squash-Merge and edit the commit message to match the pull request summary while retaining Signed-off-by and Generated-by messages.


This is an automatic backport of pull request #567 done by Mergify.

Adds the publish.yaml workflow to release a tag to the Bazel Central Registry (BCR). This workflow uses the official reusable publish-to-bcr workflow from the bazel team.

Signed-off-by: Shameek Ganguly <shameek@intrinsic.ai>
(cherry picked from commit 14051ea)
@mergify mergify bot requested a review from iche033 as a code owner January 2, 2026 18:52
@mergify mergify bot mentioned this pull request Jan 2, 2026
10 tasks
@shameekganguly shameekganguly enabled auto-merge (squash) January 2, 2026 18:52
@github-actions github-actions bot added the 🏛️ ionic Gazebo Ionic label Jan 2, 2026
@shameekganguly shameekganguly merged commit 1d69170 into gz-sensors9 Jan 6, 2026
16 checks passed
@shameekganguly shameekganguly deleted the mergify/bp/gz-sensors9/pr-567 branch January 6, 2026 18:35
@github-project-automation github-project-automation bot moved this from Inbox to In review in Core development Jan 6, 2026
@github-project-automation github-project-automation bot moved this from In review to Done in Core development Jan 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🏛️ ionic Gazebo Ionic

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

2 participants